﻿using AutoMapper;
using B.S.BaseData.Domain.Entities;
using B.S.BaseData.Read.API.DTO;

namespace B.S.BaseData.Read.API
{
    public class MappingProfile:Profile
    {
        public MappingProfile() {
            CreateMap<User,UserDTO>().ReverseMap();
            CreateMap<Role,RoleDTO>().ReverseMap();
            CreateMap<User,EmpDTO>().ReverseMap();
            CreateMap<UserRole,RUDTO>().ReverseMap();
            CreateMap<CaseMenuDTO, MenuManagement>().ReverseMap();
        }
    }
}
